package com.echo.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ATSELI
 * @version 1.0
 * @date 2021/7/18 10:52
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class AssessmentDTO {

    @NotBlank(message = "学号不能为空")
    private Integer id;

    @NotNull(message = "年级不能为空")
    private Integer grade;

    @NotBlank(message = "学院不能为空")
    private String academy;

    @NotBlank(message = "专业不能为空")
    private String profession;

    @NotNull(message = "班级不能为空")
    private Integer classNumber;

    @NotBlank(message = "正式姓名不能为空")
    private String name;
}
